<ul class="nav">
  <%= render partial: menu.to_partial_path,
    collection: menu.children.includes(:page, :children),
    locals: { options: options },
    as: 'node' %>
</ul>
